package com.winning.zjjh.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author: xkh@winning.com.cn
 * @Desc: TODO
 * @Date: 2019-03-18 13:24
 **/
@Mapper
@Repository
public interface UDDao {

    IPage selectChfs(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectCh42(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectYcja(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectEbjc(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectEbja(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectGesf(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectGeyy(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectJktj(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectRegCard(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectFirstVisit(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectPregnancyHistory(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectFurtherVisit(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectChildbirth(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectEbdjjk(Page page, @Param("tablename") String tablename, @Param("jssj") String date);

    IPage selectXsrfs(Page page, @Param("tablename") String tablename, @Param("jssj") String date);


    int insertDate(@Param("tablename") String tablename, @Param("date") String date);


//    IPage<GwdaEntity> selectGwda(Page<GwdaEntity> page, @Param("tablename") String tablename, @Param("jssj") String date);
//
//    IPage<GwsfEntity> selectGwsf(Page<GwsfEntity> page, @Param("tablename") String tablename, @Param("jssj") String date);
//
//    IPage<GwzaEntity> selectGwza(Page<GwzaEntity> page, @Param("tablename") String tablename, @Param("jssj") String date);

}
